package com.application.module.course;

import com.application.validate.ApiValidator;
import com.jfinal.core.Controller;
import com.jfinal.log.Log;

public class CourseValidator extends ApiValidator {

	@SuppressWarnings("unused")
	private static final Log log = Log.getLog(CourseValidator.class);
	
	@SuppressWarnings("unused")
	private CourseService courseService;
	
	protected void validate(Controller controller) {
		String actionKey = getActionKey();
		if (actionKey.equals("/app/course/save")){
			// validateString("username", 6, 30, "usernameMsg", "请输入登录账号!");
			
		} else if (actionKey.equals("/app/course/update")){
			
		}
	}

}
